home *** CD-ROM | disk | FTP | other *** search
- from JascApp import *
-
- def ScriptProperties():
- return {
- 'Author': '',
- 'Copyright': '',
- 'Description': '',
- 'Host': 'Paint Shop Pro',
- 'Host Version': '8.00'
- }
-
- def Preset_LayerProperties():
- return {
- 'General': {
- 'Opacity': 6,
- 'Name': '6',
- 'IsVisible': App.Constants.Boolean.false,
- 'IsTransparencyLocked': App.Constants.Boolean.true,
- 'LinkSet': 1,
- 'UseHighlight': App.Constants.Boolean.true,
- 'PaletteHighlightColor': (255,255,64),
- 'GroupLink': App.Constants.Boolean.false,
- 'BlendMode': App.Constants.BlendMode.Lighten
- },
- 'BlendRanges': {
- 'BlendRangeGreen': (0,0,255,255,0,0,255,255),
- 'BlendRangeRed': (0,0,255,255,0,0,255,255),
- 'BlendRangeBlue': (0,0,255,255,0,0,255,255),
- 'BlendRangeGrey': (0,0,255,255,0,0,255,255)
- },
- 'BrightnessContrast': None,
- 'ChannelMixer': None,
- 'ColorBalance': None,
- 'CurveParams': None,
- 'HSL': None,
- 'Threshold': None,
- 'Levels': None,
- 'Posterize': None,
- 'Overlay': None
- }
-
- def Do(Environment):
- App.Do( Environment, 'LayerProperties', Preset_LayerProperties())
-
-